.active {
    background: $red !important;
}

// 头部导航栏
.home-header {
    position: fixed;
    left: 0;
    top: 0;
    @include fj;
    width: 100%;
    height: 100px;
    line-height: 100px;
    padding: 0 30px;
    @include boxSizing;
    font-size: 30px;
    color: #fff;
    z-index: 10000;
    background: rgba(0, 0, 0, 0);
    .icon-caidan {
        font-size: 50px;
    }
    .header-search {
        display: flex;
        width: 74%;
        height: 40px;
        line-height: 40px;
        margin: 20px 0;
        padding: 10px 0;
        color: #232326;
        background: #fff;
        @include borderRadius(40px);
        .app-name {
            padding: 0 20px;
            color: $red;
            font-size: 40px;
            font-weight: bold;
            border-right: 1px solid #666;
        }
        .icon-search {
            padding: 0 20px;
            font-size: 34px;
        }
        .search-title {
            font-size: 24px;
            color: #666;
        }
    }
    .icon-iconyonghu {
        font-size: 44px;
    }
}

// 轮播图
.swiper-container {
    width: 100%;
    .swiper_img {
        width: 100%;
    }
}

//分类
.category-list {
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    width: 100%;
    padding-bottom: 26px;
    div {
        display: flex;
        flex-direction: column;
        width: 20%;
        text-align: center;
        img {
            width: 80px;
            height: 80px;
            margin: 26px auto 16px auto;
        }
    }
}

//商品内容
.floor-list {
    width: 100%;
    padding-bottom: 100px;
    .floor-head {
        width: 100%;
        height: 80px;
        background: #F6F6F6;
    }
    .floor-content {
        display: flex;
        // 按比例压缩  0就是不压缩
        flex-shrink: 0;
        // 换行
        flex-wrap: wrap;
        width: 100%;
        @include boxSizing;
        .floor-category {
            width: 50%;
            padding: 20px;
            border-right: 1px solid #dcdcdc;
            border-bottom: 1px solid #dcdcdc;
            @include boxSizing;
            &:nth-child(2n) {
                border-right: none;
            }
            p {
                font-size: 34px;
                color: #333;
                &:nth-child(2) {
                    padding: 10px 0;
                    font-size: 26px;
                    color: $red;
                }
            }
            .floor-products {
                display: flex;
                justify-content: space-around;
                width: 100%;
                img {
                    width: 130px;
                    height: 130px;
                }
            }
        }
    }
}